package class202204._21_25;
class A{
    int a =100;

}
class  B extends A{
    char a = 'A';
    public void func(){
        super.a =97;
    }
}
public class inherit {
    public static void main(String[] args) {
        B b = new B();
        b.func();
        System.out.println(b.a);
        A a = new A();
        System.out.println(a.a);
    }
}
